package com.shop.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户优惠券表：存储用户领取的优惠券
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserCoupon {
    private Integer id;
    private Integer userId;
    private Integer couponId;
    private Integer used;
    private User user;
    private Coupon coupon;
}
